package models

import (
	"gorm.io/gorm"
	"time"
)

type Videos struct {
	Id        uint           `gorm:"column:id;type:bigint(22);primaryKey;not null;" json:"id"`
	Videoname string         `gorm:"column:videoname;type:varchar(200);not null;" json:"videoname"`
	Url       string         `gorm:"column:url;type:varchar(255);not null;" json:"url"`
	Status    string         `gorm:"column:status;type:varchar(200);not null;" json:"status"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3);not null;" json:"created_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);default:NULL;" json:"deleted_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3);not null;" json:"updated_at"`
}
